title: Pushing to Array Overwrites Similar Entries
body: <p>Basically what I am trying to do is grab an object from one array, append a property to that object, and then push that new object to a new array. The problem is once I push that object to the new array (with the new, different property), it overwrites all previous objects in the new array that have similar properties to this new object, despite me altering the property before pushing.</p>
  
  <p>What should be:</p>
  
  <pre><code>{propA: "Name", propB: "Age", propC: "Location1"}
  {propA: "Name", propB: "Age", propC: "Location2"}
  {propA: "Name", propB: "Age", propC: "Location3"}
  </code></pre>
  
  <p>Becomes:</p>
  
  <pre><code>{propA: "Name", propB: "Age", propC: "Location3"}
  {propA: "Name", propB: "Age", propC: "Location3"}
  {propA: "Name", propB: "Age", propC: "Location3"}
  </code></pre>
  
  <p>Here you can find the code, with the relevant lines highlighted in yellow: <a href="http://pastie.org/private/ym8dbp1jpjwyrgbpdubk3a#47-52,59,67,85-86" rel="nofollow">http://pastie.org/private/ym8dbp1jpjwyrgbpdubk3a#47-52,59,67,85-86</a></p>
  
  <p>And here is the console output to show that the correct information is being pushed to <code>cliAllow</code> but are being overwritten: <a href="http://pastie.org/private/g3480a91tr3jvhftxaclq" rel="nofollow">http://pastie.org/private/g3480a91tr3jvhftxaclq</a></p>
  
  <p><strong>Edit:</strong> Here is a simplified version in JSBin: <a href="http://jsbin.com/kanibo/2/edit?js,console" rel="nofollow">http://jsbin.com/kanibo/2/edit?js,console</a></p>
  
  <p>I am re-writing this code from my old code which was my first time writing in javascript so please excuse what may be incorrect programming methods elsewhere in the code.</p>
  
  <p>Your help is greatly appreciated. I've been trying to debug this for almost a week and I am heavily exhausted.</p>