<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unique(seq):
 """Return the unique elements of a collection even if those elements are unhashable and unsortable, like dicts and sets"""

    cleaned = []
    for each in seq:
        if each not in cleaned:
            cleaned.append(each)
    return cleaned