Returns the original list where any object duplicates by the given key are removed.
For example, given a list of objects and Keyid, would return an array where items that have duplicate id property values are removed.
The object with the first unique value is always picked into the returned array, with subsequent occurences of the same value treated as duplicates and discarded.