Document that replaceSlice returns a new array
Merge pull request #1848 from eco/patch-11

[minor] Document that replaceSlice returns a new array