Factors out seq-to-array*.
Implements Cons.