Clone materials

For entities sake of modifing parameters, we need to clone the materials
to ensure all parameters are on a per-entity basis. Meaning, if one
entity's material has an alpha set to 0.8, all the other entities' alpha
values remain unchanged.