def remove_duplicates(lst):
    """
    This function removes all duplicate object from a list.
    :param lst: A list.
    :return: The same list, with all its elements appearing just once.
    """
    if len(lst) == 1:
        return lst
    return [i for n, i in enumerate(lst) if i not in lst[:n]]