Issue 10265 - RandomSample fails when passed an InputRange as input

http://d.puremagic.com/issues/show_bug.cgi?id=10265
Issue fixed by making presence of save() property conditional on input being a ForwardRange.