Added `slice` method to `Collection`. Closes #1137.