Cross copy/paste between 2 connected computers
Consider the below scenario,
Two computers (Say X & Y) connected to one remote computer (say Z). "X" is actively working on "Z" and copies some conent. "Y" is just connected to remote computer, but not doing anything in it. If "Y" tries to paste something for his work locally on his computer, then whatever content "X" has been copied is being pasted to "Y" computer.
Is there solution to avoid this cross copy & paste?