public static ModelInstance Move(this ModelInstance modelInstance, Vector vector) { if (modelInstance == null) { return(null); } ModelInstance modInstance = modelInstance.ShallowClone(); modInstance.Location = Geometry.Modify.Translate(modInstance.Location as dynamic, vector); return(modInstance); }