set source_class from self, "flat copy function"