[REG2.066a] Issue 13077 - std.range.array with shared InputRangeObject

https://issues.dlang.org/show_bug.cgi?id=13077

Ping: @monarchdodra