fix `File.prototype.clone` so that it doesn't bust the call stack