@cell
def move(component: Component, origin=(0, 0), destination=None, axis: Optional[Axis]=None) -> Component:
    'Return new Component with a moved reference to the original component.\n\n    Args:\n        origin: of component\n        destination:\n        axis: x or y axis\n    '
    component_new = Component()
    component_new.component = component
    ref = component_new.add_ref(component)
    ref.move(origin=origin, destination=destination, axis=axis)
    component_new.add_ports(ref.ports)
    component_new.copy_child_info(component)
    return component_new
Return new Component with a moved reference to the original component.

Args:
    origin: of component
    destination:
    axis: x or y axis
@cell
def move(component: Component, origin=(0, 0), destination=None, axis: Optional[Axis]=None) -> Component:
    'Return new Component with a moved reference to the original component.\n\n    Args:\n        origin: of component\n        destination:\n        axis: x or y axis\n    '
    component_new = Component()
    component_new.component = component
    ref = component_new.add_ref(component)
    ref.move(origin=origin, destination=destination, axis=axis)
    component_new.add_ports(ref.ports)
    component_new.copy_child_info(component)
    return component_new