Global Merge?

Is there an easy way to merge a bunch of pairs of vertices at once instead of having to do the pairs individually?

For example, if you make an array of planes that sit edge to edge, and then apply the modifier, you end up with an object of joined planes with their own vertices rather than shared ones. I want to merge those pairs so they are shared vertices.

Select the vertices you want to merge.
Mesh -> Vertices -> Remove Doubles

In this very example, wouldn’t the Array modifier’s “Merge” option take care of that already?

About a minute after I posted, I remembered the Remove Doubles. Go figure…

But @@IkariShinji has taught me something new.