def remove_duplicates(iterable):
    """Removes duplicates of an iterable without meddling with the order"""
    seen = set()
    seen_add = seen.add # for efficiency, local variable avoids check of binds
    return [x for x in iterable if not (x in seen or seen_add(x))]