removed reference return in Material::copy()