clone method

  1. @override
GroupMaterial clone()
override

Return a new material with the same parameters as this material.

Implementation

@override
GroupMaterial clone() {
  return GroupMaterial().copy(this);
}