With ScriptRunner for Jira you can specify scripted workflow validators.

If such a validator has been defined and prevents an issue to be cloned, Deep Clone for Jira will cancel the clone operation and show a warning indicating which scripted validator prevented it.

If a scripted validator is defined and the cloned issue passes the validation, the clone operation will be successful.