MasDennis/Rajawali — pull request #164 by jayschwa (2012-09-22 02:21:23+00:00)
Title: Add BaseObject3D.cloneTo() helper method

Intended to ease subclassing:

``` Java
public MyClass extends BaseObject3D {
public MyClass() {
super();
// ... subclass-specific code ...
}
public MyClass clone() {
MyClass clone = new MyClass();
super.cloneTo(clone, true);
// ... subclass-specific code ...
return clone;
}
}
```

If I am missing a better or more idiomatic way to do this, (that may not require a BaseObject3D change,) please let me know. I am still in the process of learning common Java design patterns.