`to_directed`/`to_undirected` will also ends up deepcopying user data of unknown size/copyability. The proper fix is to make them and `copy` accept a `data=False` argument. But that belongs to another PR.