Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Clone

generic::clone performs a common clone.

o.generic::clone()

You may customize it for a class with:

public function clone(deep:boolean = true):c {
}

// or
public function clone():c {
}

Any parameters are allowed as long as they are optional; however if the first one is a Boolean, it is understood as the deep parameter.