removed history for inflow, and added TRUE deep copying for models.