The following example duplicates the atoms of a side chain. The duplicated atoms are identical to the original ones except for the segment name. The example can be used to set up alternate conformations (see Section 12.8).
duplicate selection=( resid 40 and not ( name ca or name n or name c or name o ) ) segid="ALT" end