In Python, if two objects have the same parameters, you can unpack the output of the __dict__ method of an instance of one into the constructor of another to transmute an object.
Example#
## Create an instance of Class B using the properties of an instance of Class A
b = ClassB(**instance_a.__dict__)