The following works for me on my machine (Ubuntu-22.04).
On The line you want to duplicate: copy as usual: Ctrl+c
Then, while on the same line, past it (also, as usual): Ctrl+v
This will duplicate the line below the original one.