Learning to Cluster Under Domain Shift