title: How to copy and paste shapes in KineticJS
body: <p>I have a button1 like this.</p>
  
  <pre><code>var Button1 = new Kinetic.Polygon({
              points: [0, 0, 0, 30, 15, 15],
              fill: 'rgb(0, 255, 0)'
          });
  </code></pre>
  
  <p>Now I want to copy it (duplicate it). How would I do that?</p>
  
  <p>I tried this -</p>
  
  <pre><code>    var Button2 = new Kinetic.Polygon();
      Button2 = Button1;
  </code></pre>
  
  <p>This did not work as only one copy is being drawn on the canvas.</p>
  
  <p>How should I do this?</p>