Returns a new instance of this material with the same options.
A clone of this material.
Update the material with new arguments. TODO: Fix memory leak.
Options to update the material with.
This method leaks memory.
Returns a new instance of this material with the same options.