Fixed issues breaking duration property - changed toMS to check for Nan, and deep cloned properties before deleting.