This particular part is fairly easy because the pins are connected together. A standard through hole part will do this (unless I am misunderstanding something.) For things like edge connectors (where the pins are different on the top and bottom and not connected together) it is possible with some limitations. The process is described here:
If this isn’t clear, please post and I’ll try and fix it up.