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

...so that a function can be called during a chain of InputRanges."
Done