You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the clone() method expects all the fields to be primitives which makes cloning pretty easy, however Date is not a primitive and thus the same object remains without being duplicated.