set() is not an option, it only works with iterables, that contain hashable items. Currently I'm using this function:
def exclusive(arr):
return arr.__class__({str(i):i for i in arr}.values())
Is there a builtin one? P.S. Don't suggest your functions. I only ask for a builtin one.