Duplicates the selection if there is one, otherwise, duplicates the line.
WIN: ctrl-shift-D MAC: shift-cmd-D