unzip this into the fragMOTION/schema/UI folder and restart fragmotion.
Using the Edit/Customize User Interface dialog in the Script drop down I created a 3 line UIScript=>LuaUIScript that deselects all faces, selects the group, and then duplicates it.
Every menu/context menu/toolbar item has a script associated with it that can be called from another script like so:
Then in the Context Menus drop down I created a new menu item under Group and linked it to the new script.
If you create any new functionality like this in the future it's always a good idea to export all the new objects you create to an xml file from the Customize User Interface dialog since resetting the user interface or deleting the ui.xml file will remove everything you added. Another bonus here is that you can transfer your features to newer versions of the product by copying these files into the corresponding folder. I had you place the xml file in the Schema/UI folder because files in this folder are automatically reloaded when the user interface is reset.