remove all duplicates from a list of sets `L`,list(set(frozenset(item) for item in L))