Safari for iOS and Mac has a quick shortcut for clearing out all your tabs, except the current one you’re viewing, and starting fresh.
📱 – Tap and hold on the tabs button (the two overlaid squares), a “Close [X] Tabs” option will appear
💻 – Command-Option-W, or hold the Option key and go to File > Close Other Tabs