Local versions of sum-of-norms clustering