Add join method to immutable array