clone method

Object3D clone([
  1. bool? recursive
])

recursive -- if true, descendants of the object are also cloned. Default is true.

Returns a clone of this object and optionally all descendants.

Implementation

Object3D clone([bool? recursive]) {
  return Object3D().copy(this, recursive);
}