title: Slice array with objects and get array with objects copies
body: <p>When I made a slice of array containig objects new array are still have references to objects in initial array. How can I make a slice with objects copies?</p>
  
  <pre><code>var obj1 = {name: 'object1'};
  var obj2 = {name: 'object2'};
  var array = [obj1, obj2];
  var arraySlice = array.slice(0, 1);
  arraySlice[0].name = 'object1RENAMED';
  console.log(array[0].name);
  console.log(arraySlice[0].name);
  </code></pre>
  
  <p><a href="http://jsfiddle.net/eqgj873h/" rel="nofollow">http://jsfiddle.net/eqgj873h/</a></p>
  
  <p>Prints:</p>
  
  <pre><code>object1RENAMED
  object1RENAMED
  </code></pre>