Copy the current tab, tabs in the current window, or all tabs. Optionally group tabs by window.