Panel Data Inference with Dependent Clusters