cloneProtected method
Copies properties from this object to the given object, which is of the same class. This is called by #copy and should be overridden for each class that adds properties. There are examples of such overrides in the samples. Please read the Introduction page on Extensions for how to override methods and how to call this base method.
Implementation
void cloneProtected(_i3.Layout copy) {
_i4.callMethod(
this,
'cloneProtected',
[copy],
);
}