If you really want a linear array, and the feature you want can be extruded, this hack is almost worth the effort.
Sketch one feature in an appropriate place:
Add an axis and revolve:
Extrude a cutter to slice it at the section plane:
You’ll have a lot of little bodies, so create them in a folder you can delete or hide all together.
Then extrude or project as needed.