code: def duplicates_removed(it, already_seen=()):
      """
      Returns a list with duplicates removed from the iterable `it`.
  
      Order is preserved.
      """
      lst = []
      seen = set()
      for i in it:
          if i in seen or i in already_seen:
              continue
          lst.append(i)
          seen.add(i)
      return lst
  
imports: import re
  from io import TextIOWrapper
label_desc: Use image node_id 13 for calling a global function with example usage: duplicates_removed(it, already_seen) and returns: lst