fixup menu_item copy ctor

this fixes up commit 6fc1ac1bb224cddec5ccbb7f7865b69b1b093a01

it does not fix bug 23115