Native duplicate line works only with one line, but would love to have a universal and intelligent command to duplicate not only the current line, but any selection, any selected part of code, any multiline selection. Duplicate Anything
For example, in JetBrain WebStorm (PhpStorm, IDEA) command Duplicate Block works this way.