julia> a = accelerate([1, 2, 3], UniqueSortIndex)
3-element Array{Int64,1} + UniqueSortIndex:
1
2
3
julia> copy(a)
3-element Array{Int64,1}:
1
2
3
Unless I'm missing some subtlety where this could create an invalid state, this seems to work?
Base.copy(a::AcceleratedArray{T, N, A, I}) where {T,N,A,I} = AcceleratedArray{T, N, A, I}(copy(a.parent), a.index)
Unless I'm missing some subtlety where this could create an invalid state, this seems to work?