ReadableStreamDefaultTee(stream) performs the following steps:
Let pullAlgorithm be the following steps:
Let cancel2Algorithm be the following steps, taking a reason argument:
Set branch2 to ! CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm).