top.addNode(test1);
NEFEnsembleFactoryImpl fac = new NEFEnsembleFactoryImpl();
NEFEnsembleImpl testens = (NEFEnsembleImpl)fac.make("test", 100, 1);
testens.addDecodedTermination("input", new float[][]{new float[]{1}}, 0.01f, false);
test1.addNode(testens);
test1.exposeTermination(testens.getTermination("input"), "in");
NetworkImpl test2 = (NetworkImpl)test1.clone();
test2.setName("test2");