def METHOD_NAME(self):
    """
    Retrieve a version of the data vector with any duplicate variables zeroed out.
    Returns
    -------
    ndarray
        Array the same size as our data array with duplicate variables zeroed out.
        If all variables are owned by this process, then the data array itself is
        returned without copying.
    """
    dup_inds = self._get_dup_inds()
    if dup_inds.size > 0:
        self._dup_scratch[:] = self.asarray()
        self._dup_scratch[dup_inds] = 0.0
        return self._dup_scratch
    return self._get_data()