public RectangularLamp(RectangularLamp other) : base(other) { rectangle = (Rectangle)other.rectangle.Clone(); material = rectangle.Material; if (other.emissive != null) { emissive = other.emissive.Clone(); } if (other.sampler != null) { sampler = other.sampler.Clone(); } }