I used array_unique to remove duplicate values from arrays, but it doesn't seem to work when the values are objects - instances of StdClass.
No one has answered this question yet.
See similar questions:
or similar: