Problem:
Solution 1:
Solution 2:
Result in comparison:
Output:
A:
W==10, H==10
B:
W==15, H==5
A = B:
W==15, H==5
A after W explicitly set:
W==10, H==3
A after H explicitly set:
W==33, H==10
================
A:
W==10, H==10
B:
W==15, H==5
A = B.Clone():
W==15, H==5
A after W&H set separately:
W==10, H==10
B after W&H set in relation:
W==10, H==3