implement clone function for ParseCancellationException