def METHOD_NAME(self):
    class DummySubjectSubClass(tio.data.Subject):
        pass
    dummy_sub = DummySubjectSubClass(self.sample_subject)
    sub_copy = copy.copy(dummy_sub)
    assert isinstance(sub_copy, tio.data.Subject)
    assert isinstance(sub_copy, DummySubjectSubClass)
    sub_deep_copy = copy.deepcopy(dummy_sub)
    assert isinstance(sub_deep_copy, tio.data.Subject)
    assert isinstance(sub_deep_copy, DummySubjectSubClass)