Several freeware apps exist (like "Desktop Icon Hider") that add a simple toggle button to your taskbar. Double-click the button to wipe all icons; double-click to restore them.
For a true hide toolz experience on Mac, you need to clean the top bar.
WinHide, % "ahk_id " windows%A_Index%
Warning: This hides all windows. Use with caution.