resetTrackChanges() public method

Clears out any tracked changes and turns change tracking ON or OFF
public resetTrackChanges ( boolean $trackChanges = true )
$trackChanges boolean True to turn change tracking ON, or false to turn OFF. Default of true is assumed.
 /**
  * Clears out any tracked changes and turns change tracking ON or OFF
  *
  * @param bool $trackChanges True to turn change tracking ON, or false to turn OFF. Default of true is assumed. 
  * @return this
  *
  */
 public function resetTrackChanges($trackChanges = true)
 {
     $this->itemsAdded = array();
     $this->itemsRemoved = array();
     return parent::resetTrackChanges($trackChanges);
 }