powered by
Copy class and attributes from the original version of an object to a modified version.
reattribute(x, result)
The original object, which has a class/attributes to copy
The modified object, which is / might be missing the class/attributes.
result, now with class/attributes restored.
result