update of Hash#slice
Adding collision check chiefly against ActiveSupport's Hash#slice