If the clothes pin were invented today it would have 3 transistors and IC a photo coupler moisture detector and a solar panel Each would take a 9V battery or get get power from a steel clothes line. In which case each would be worth more than the pair of shorts they are holding up.