doctrine clone