added options for duplicating connections, duplicating inputs, or no inputs