The "add-tearoffs" property controls whether generated menus have tearoff menu items.
Tearoff menus are deprecated and should not be used in newly written code.
Note that this only affects regular menus. Generated popup menus never have tearoff menu items.