None of the base properties of
Material are cloned when cloning a
ShaderMaterial: is it intended?
I had a bug because I cloned a
alphaMode=12 but got
alphaMode=2 in the cloned material (2=default value).
By the way,
clone() is not implemented in
Material (it returns
null) contrary to what the doc is saying.