Cut, Copy, Paste

I have a class used in 2019r3 that contains a right-click menu in a text field class. I tried using this class in 2020r2 and it is throwing an error on compile for Editcut.clone, EditCopy.clone, etc. Below is the code.
The EditCut, EditCopy, etc refer to the names of the menu items used in my main menu.

Dim base As New MenuItem
Dim miEditCut As MenuItem = EditCut.Clone
Dim miEditCopy As MenuItem = EditCopy.Clone
Dim miEditPaste As MenuItem = EditPaste.Clone
Dim miEditSelectAll As MenuItem = EditSelectAll.Clone

base.Append(New MenuItem(MenuItem.TextSeparator))