reset.model: resets the model to its initial state.