Remove in-place modification of options when casting to Array

`Classes.Array` modifies its options in-place, which causes the first access to an Array value to work properly, but any later accesses will return a String, because the `:class` option has been removed.