Press &shortcut:EditorDuplicate; in the editor to duplicate the selected block or the current line when no block is selected.