@Override
protected Object clone() {
TextureAttributesRetained tr = (TextureAttributesRetained)super.clone();
tr.transform = new Transform3D(transform);
tr.textureBlendColor = new Color4f(textureBlendColor);
if (textureColorTable != null) {
tr.textureColorTable = new int[textureColorTable.length];
System.arraycopy(textureColorTable, 0, tr.textureColorTable, 0,
textureColorTable.length);
} else {