Prevent side effect associated with modification of array used to create port mapper via from_index() method subseq to class instantiation.