Tab undock/dock

Is there a way to undock and re-dock a tabber tab? I’d like to be able to initiate the undock by doubleclicking the tab

If not, can it be simulated in some way.

Thanks in advance

There is no such a built-in functionality in tabbar.

The attached sample is the possible solution (131 KB)

Thank you very much.