Created struct version of train_once
Internal clone, fix bug in API-level clone
Clone a network
Factory methods for network
Factory methods for network