[Luis] add support to clone and deepClone if the the rootObject is regex or Date