How to make a vertical pattern with this object?

Hi,

I am trying to make a vertical pattern with the attached object. It would just be the attached (pic 1) object stacked on top of itself x number of times.  I tried doing a linear pattern along the  vertical line that I sketched but the result looks like SolidWorks merges them all (pic 2).

Can someone please explain how I can make this vertical stack without merging results?

Thank you very much!

SolidworksParts And Features