The editor we use doesn’t support yank. (more broadly the combo kill/yank)
You can open a FR for that but it’s unlikely do be implemented until it is implemented upstream.
If you want to duplicate a line you simply cmd-c down cmd-v (or cmd-x cmd-v cmd-v). There are plugins in the community to add direct shortcuts for line duplication.