Is there any way to prevent the row cloning feature(on edit page)

Is there any way to prevent the row cloning feature(on edit page)

My initial requirement is to prevent some users from adding new rows in the subform. For that, I have implemented the client script, and the script is working fine. But users are able to clone the row and make changes. For that, I was unable to find any client script or workaround to prevent this action. If anyone knows anything regarding how we can prevent users from doing the cloning, let me know. Screenshot for reference: