Is there a mean to obtain an unmodifiable array which is not frozen?
Assume you’re implementing a directed graph with adjacency lists. A
node would like to expose it’s outgoing edges (to let users enjoy its
enumerability for example) but you would like to ensure that this
array will not be modified. A solution would be to duplicate it and I
know that efficiency should not be my concern, but …