You can duplicate the line at the caret simply by pressing &shortcut:EditorDuplicate;.