CRM subform hide delete icon

CRM subform hide delete icon

Hi,

is it possible to hide the delete and duplicate buttons on subforms in CRM with client script?

I have set the fields to readonly via client script:
ZDK.Page.getSubform("Subform").getField("field").setReadOnly(true);

Users cant edit the fields anymore, but they can still delete or duplicate entire rows.