A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instances.
Improved check for objects, so dates are handled correctly. Fixes jaydenseric/apollo-upload-client#138