3d View layout closer
See that little rounded corner where edges meet?
Hover over it, then click-and-drag it in whatever direction you want to create a new tab.



To remove a tab, right-click on that tiny darkened line that separates the tabs and select 'Join Areas'