Object.keys(obj).forEach(function (key) {
      copy[key] = deepCopy(obj[key], cache);
    });