title: All objects are affected in an array
body: <p>Sample:</p>
  
  <pre><code>test = {one: 1, two: 'two', three: 3};
  
  arr = [];
  arr.unshift(test);
  arr.unshift(test);
  arr.unshift(test);
  
  arr[0].two = 2;
  </code></pre>
  
  <p>Results:</p>
  
  <p><a href="https://i.stack.imgur.com/e57uW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e57uW.png" alt="enter image description here"></a></p>
  
  <p>What I want? I want change just the value from the <code>first array</code>, the others stilling with the value <code>two</code> when I access <code>arr[index].two</code>. What can I do to solve that?</p>