Since InputGlobal makes a copy of a given object, we can use a temporary object allocated on the stack here.
Still good to go?