Minimize/restore by scrolling the mouse wheel over taskbar buttons and thumbnail previews.
Only Windows 10 64-bit and Windows 11 are supported. For older Windows versions check out 7+ Taskbar Tweaker.
Note: To customize the old taskbar on Windows 11 (if using ExplorerPatcher or a similar tool), enable the relevant option in the mod's settings.