Creates a new MaterialInstance using another MaterialInstance as a template for initialization. The new MaterialInstance is an instance of the same Material of the template instance and must be destroyed just like any other MaterialInstance.