@classmethod
def create_from(cls, variable):
    """Create new variable this type from existing

        Args:
            variable (Variable) : Existing variable to create from.

        Returns:
            :class:`.Variable` : new variable

        """
    v = cls(id=variable.id, name=variable.name, entity=variable.entity)
    return v
