Exporting icons from components

I need to export icons used in a design system. They are inside components and when I try to export I can only successfully export icons that are not inside a component/variant set. Is there a way to remove them all from components groups? I have made a copy of them hoping to detach instances but I don’t get the menu option to do that… Any other ways?