The Copy Last Speech add-on suggests using the following commands:
You can configure these commands in the “Miscellaneous” category of the NVDA Parameters, Input Gestures dialog box
Added compatibility with NVDA 2023.1
Added compatibility with NVDA 2022.1
Added compatibility with NVDA 2021.1
The first issue.