def norm_ignore_elems(ignored):
    """ normalise element to be ignored, remove duplicates

    :param [] ignored: ignore elements
    :return []:
    """
    if ignored is None:
        ignored = []
    elif not isinstance(ignored, list):
        ignored = [ignored]
    ignored = set([None] + list(ignored))
    return ignored