code: def remove_list_duplicates(lista, unique=False):
      
      result = []
      allready = []
  
      for elem in lista:
          if elem not in result:
              result.append(elem)
          else:
              allready.append(elem)
  
      if unique:
          for elem in allready:
              result = list(filter((elem).__ne__, result))
  
      return result
docs: Remove duplicated elements in a list.
      Args:
          lista: List with elements to clean duplicates.