How to remove duplicates from an array of objects?
<p>What the best way to remove duplicates from an array of objects?</p>

<pre><code>var array = [
  {a: 0, b: 0, c: 0},
  {a: 0, b: 0, c: 0},

  {a: 1, b: 1, c: 1},
  {a: 1, b: 1, c: 1},

   //..... etc
];
</code></pre>

<p>And, i want to get like:</p>

<pre><code>[
  {a: 0, b: 0, c: 0},
  {a: 1, b: 1, c: 1}
];
</code></pre>

<p>PS: the keys (a, b, c) have only primitive data type (String, Number)</p>

<p>Please, without underscore.js and other libs.</p>
