Revive pull request #1348: "Issue 9882 - Implement a "tee" style InputRange...

...so that a function can be called during a chain of InputRanges."
In any case, please add a comment about that. I had to double-take even though I am supposed to know that kind of stuff. ;)