title: How to remove all duplicates from an array of objects?
body: <p>I have an object that contains an array of objects.</p>
  <pre><code>obj = {};
  
  obj.arr = new Array();
  
  obj.arr.push({place:&quot;here&quot;,name:&quot;stuff&quot;});
  obj.arr.push({place:&quot;there&quot;,name:&quot;morestuff&quot;});
  obj.arr.push({place:&quot;there&quot;,name:&quot;morestuff&quot;});
  </code></pre>
  <p>I'm wondering what is the best method to remove duplicate objects from an array.  So for example, <code>obj.arr</code> would become...</p>
  <pre><code>{place:&quot;here&quot;,name:&quot;stuff&quot;},
  {place:&quot;there&quot;,name:&quot;morestuff&quot;}
  </code></pre>