Adds duplicate_menu_item action. Formatting.