\newsavebox{cmd}
Declares cmd, which must be a command name that is not already defined, to be a bin for saving boxes.
The \newsavebox command is a global declaration.
The \newsavebox command is fragile.