@typecheck_method(value=IR)
def copy(self, value):
    new_instance = self.__class__
    return new_instance(value)
@typecheck_method(value=IR)
def copy(self, value):
    new_instance = self.__class__
    return new_instance(value)