Jersey RestAPI: solved regression on trigger clone()