Thanks to @etaionshrd on Reddit we have this Terminal command:
defaults write com.apple.dock slow-motion-allowed -bool true && killall Dock
If it doesn't work, try copy-pasting it. There is no auto-correct in Terminal and spelling counts. Works for me macOS 10.13.2 High Sierra.