I know this is how the PCL tutorial reads, but I think you can do this with a `PointCloud` constructor:

    pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_cluster(cloud_filtered, it->indices);