The practice has been on the decline, but critics say the fact that it’s legal makes it problematic.