Copies the fields of o into this instance and returns this.
o
this
@override MaterialD setD(MaterialD o) { shader.setD(o.shader); maps = o.maps.map((x) => x.clone()).toList(); params = .from(o.params); return this; }