I came across this package

Never saw anything like this before. Does anyone know what it is and how it's supposed to be mounted?
I came across this package

Never saw anything like this before. Does anyone know what it is and how it's supposed to be mounted?
It's a (granted, fugly) TO-220 derived package used by Allegro for current measuring parts like the ACS756, datasheet. (I don't know if other manufacturers also use this kind of package.) The thick bent connections are for the current to be measured, in the case of the ACS756 up to 50A. This requires careful PCB layout (yes, the heavy pins are soldered in a PCB \$-\$ obviously not suited for paste-in-hole reflow, and hand-soldering will be tough as well :-))

Possibly other manufacturers prefer screw connections for low resistance current shunts like these ones from Isabellenhütte:

I don't know why Allegro prefers soldering over screw mounting.
I found this application, also based on an Allegro device (ACS715) which uses indeed screw connections.

What I find strange is that they pump 30 A through two ordinary SOIC pins. I would at least have replaced pins 1-2 and 3-4 by two tabs, I think. 15A through an SOIC pin seems like a lot.
Very strange. I have never see its like either.
I can think of 2 reasons for this package:
Two separate heat-sinks linked to different parts of the circuitry that shouldn't be connected.
A high voltage or high current portion of the internal circuitry, such as a very high current photo-triac.