Jersey RestAPI: solved regression on Trigger and Command clone()