fix: Array#shared uses Array.cast from now on