Removes all duplicates including objects by iterator or object literal