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