          Returns
          -------
          dict:
              The :class:`Mask` for saving to an alignments file. Contains the keys ``mask``,
              ``affine_matrix``, ``interpolator``, ``stored_size``
          """
          retval = dict()
          for key in ("mask", "affine_matrix", "interpolator", "stored_size"):
              val = getattr(self, self._attr_name(key))
              if isinstance(val, np.ndarray):
 
</s> remove         for key in ("mask", "affine_matrix", "interpolator", "stored_size"):
 </s> add         for key in ("mask", "affine_matrix", "interpolator", "stored_size", "stored_centering"): </s> remove             ``affine_matrix``, ``interpolator``, ``stored_size``
 </s> add             ``affine_matrix``, ``interpolator``, ``stored_size``, ``stored_centering`` </s> remove         for key in ("mask", "affine_matrix", "interpolator", "stored_size"):
 </s> add         for key in ("mask", "affine_matrix", "interpolator", "stored_size", "stored_centering"): </s> remove             ``affine_matrix``, ``interpolator``, ``stored_size``
 </s> add             ``affine_matrix``, ``interpolator``, ``stored_size``, ``stored_centering`` </s> remove         for key in ("mask", "affine_matrix", "interpolator", "stored_size"):
 </s> add         for key in ("mask", "affine_matrix", "interpolator", "stored_size", "stored_centering"):
            ``affine_matrix``, ``interpolator``, ``stored_size``, ``stored_centering``
          Returns
          -------
          dict:
              The :class:`Mask` for saving to an alignments file. Contains the keys ``mask``,
            ``affine_matrix``, ``interpolator``, ``stored_size``, ``stored_centering``
          """
          retval = dict()
          for key in ("mask", "affine_matrix", "interpolator", "stored_size"):
              val = getattr(self, self._attr_name(key))
              if isinstance(val, np.ndarray):
keep keep keep keep replace keep keep keep keep keep
 Add support for different mask centering types 
lib/align/detected_face.py