You can clone with
HTTPS or Subversion.
I just encountered a problem with referencing an object multiple times with different names before flushing. It seems only the first reference I make gets persisted and is available in following fixtures. Here is an example:
public function load(ObjectManager $manager)
$obj = new Obj();
When referencing "first-reference" in the following fixture I get the persisted object I expect. But if I reference "second-reference" I get an object that is in an unpersisted state. This is problematic if I want to relate the previously persisted object to another object in a following fixture by referencing "second-reference".
If I flush before adding the references, everything works fine. Is it a bug or an intended behaviour?
Please report it to the DataFixtures library. This bundle only provides the command calling the library, not the fixture loading logic.