def METHOD_NAME(self, inplace: bool = False) -> Quaternion:
    """Normalizes a Quaternion to unit length
    so that it represents a valid rotation.
    Args:
        inplace (bool): Do an inplace normalization.
    Returns:
        Quaternion: Normalized quaternion.
    """
    if inplace:
        nrm = self.norm()
        self.data /= nrm
        return None
    nrm = self.norm()
    data_copy = np.array(self.data, copy=True)
    data_copy /= nrm
    return Quaternion(data_copy)