jQuery.unique() not returning completely distinct values
<p>I am using the 'jQuery.unique()' function to put distinct array values from one array to another array but the values in the 2nd array does not seem to contain distinct values. </p>

<pre><code>var nonuniqueArray = ['AMI:8244','AMI:29126','AMI:31591','AMI:31591','AMI:31591','AMI:31591','AMI:29126'];
uniqueArray = $j.unique(nonuniqueArray);
alert (uniqueArray);
</code></pre>

<p>Values alerted are: <code>AMI:29126,AMI:31591,AMI:29126,AMI:8244</code></p>

<p>I noticed that if similar values in the array are grouped together, then it works fine, for e.g if 'AMI:29126' are grouped together, it seems ok. </p>

<p>Any suggestion on what's wrong with the above code is most welcomed.</p>

<p>Many many thanks :)</p>
