This keymap will duplicate the current line if nothing is selected or duplicate the selected words.
Access:
File/Preferences/Keyboard shortcuts
In the right top corner, click on Open Keyboard Shortcuts (JSON).
Insert this keymap:
{
"key": "shift+alt+d",
"command": "editor.action.duplicateSelection"
}
Use alt+arrows up/down to move the line (Default behaviour of VS Code).