code: def unique(seq: Iterable[Any]) -> list[Any]:
      """Return the unique elements of a collection even if those elements are
      unhashable and unsortable, like dicts and sets"""
      cleaned: list[Any] = []
      for each in seq:
          if each not in cleaned:
              cleaned.append(each)
      return cleaned
  
imports: from __future__ import annotations
  import collections
  import functools
  import itertools
  import multiprocessing
  import multiprocessing.dummy
  import os
  import queue
  import tempfile
  from typing import TYPE_CHECKING, overload
  import numpy
  from dedupe.backport import RLock
label_desc: Use image node_id 13 for calling a global function with example usage: unique(seq) and returns: cleaned