I have a class that implements ICloneable
. I need it to have a backup of an entity, so when the user clicks cancel, etc., I have all values asides.
I want to create in the cloneable class another function, that clones in, i.e. receives another class of the same type and uses the same clone but to the opposite direction while the other members are still the same, i.e. the instance is the same.
How should I name that function?
I would say my question is what's the opposite of 'Clone' something like 'swallow' etc., you're the expert, I don't know English.
Thanks