[Luis] deepClone now includes Date instances, and loops in the array with forEach instead of eachKey (faster, and avoid changing the length of the array)