That *must* be a reference.  There's no way I'm willing to incur the cost of a complete copy of *multiple* residuals, especially on *every* Newton iteration.