def _clone_item(item):
    """
    Older versions of hiero use clone() but it's deprecated in nukestudio in
    favor of copy().

    Use the appropriate method to clone the item.
    """

    if hasattr(item, "copy"):
        return item.copy()
    else:
        return item.clone()