Add a method to reset an Output object for reuse.