Creates a copy of a slice with a range of elements removed.

For more information about operations with slices, see Slice Tricks in the golang repository at github.com.