@classmethod
def __copy__(cls, the_filter):
    """
        Creates a shallow copy of the object.
        """
    new_filter = type(the_filter)()
    new_filter._parent = the_filter._parent
    new_filter._key = the_filter._key
    new_filter._handler = the_filter._handler
    return new_filter
