Avoid changes to `object` affecting the result of a match function.