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

GoLand tips of the day, build 2078