IntelliJ IDEA keyboard shortcut
Press Ctrl + D to duplicate line.
Practice this shortcut All IntelliJ IDEA shortcuts