Question d’entretien chez Google

Create a Java method that clones a DAG (Directed Acyclic Graph).