Preserve stack size on replaced outputs

Fixes crafting copper blocks -> 9 copper ingots, instead
of to 1 copper ingot.