You can try this javascript rule:
setTimeout(async function GetClip() {
let ctext = await window.navigator.clipboard.readText()
console.log('Clipboard: ' + ctext);
document.getElementsByName("Lastname")[0].value = ctext;
}, 1000)
You'll need to change the last line to match your input field name.
It also depends on the settings of your browser clipboard access setting. I was able to get the above to work on Chrome.