Adding null checks for DateTime before cloning