from typing import List


def unique(object: List):
    """Remove duplicates from a list while preserving the order"""
    # list(set(object)) does the unique job, but it sets to random order
    u = []
    for item in object:
        if item not in u:
            u.append(item)
    return u