Version: v0.7.1 - Beta.  We welcome contributors & feedback.

ObjectHooks.onClone

onClone() -> none

Description

This method is called on an object that was newly created via the zClone method.

It can be used to do any further initialization of properties.

class MyObject {

    public fn onClone {

        @.someField = 123
    }
}