function browserQueueMicrotaskImpl(global) {
      const { setTimeout, queueMicrotask } = global;
      let currentCallCount = 0;
      return function clearStack(fn) {
        currentCallCount++;

        if (currentCallCount < maxInlineCallCount) {
          queueMicrotask(fn);
        } else {
          currentCallCount = 0;
          setTimeout(fn);
        }
      };
    }
Set this spy to do a shallow clone of arguments passed to each invocation.
@name Spy#calls#saveArgumentsByValue
@since 2.5.0
@function