Date value is cloned to avoid overwriting it.