use `isInfinite` property instead of cloneDepth for determining infinitability