Duplicate the line at the caret position or code selection by pressing .