def remove_duplicates(data_list):
    """Remove duplicates from the passed data_list."""
    without_duplicates = []
    for elem in data_list:
        if elem not in without_duplicates:
            without_duplicates.append(elem)
    return without_duplicates