def clean_name(name):
    """Clean common issues in name fields.

    Removes alternative name from a feature name
    Name fields in American Rivers sometimes have multiple names
    where alternative names are seperated by parentheses.
    This extracts the alt name from parenthesis and moves it to
    an alternative name field.

    Parameters
    ----------
    name: str
       initial name of feature

    Returns
    ----------
    main_name: str
        name with (alt_name) removed
    alt_name: list
        comman separated strings representing alt names without parentheses

    """
    # Separate alternative dam names from main dam name in
    # American Rivers Dam Name field
    # Also deal with a few cases where / was used instead of ()
    name = name.lower()
    name = name.replace("/ Anadromous Fish Habitat Restoration", "")
    name = name.replace("/Arnold", "(Arnold)")
    name = name.replace("/Horseshoe Pond Dam", "(Horseshoe Pond Dam)")

    if (
        "(" in name and ")" in name
    ):
        main_name = name.split("(")[0] + name.split(")")[-1]
        main_name = main_name.replace("  ", " ")
        main_name = main_name.strip()

        extraction = name.split("(")[1]
        alt_name = extraction.split(")")[0]
        alt_name = [alt_name.strip()]
    else:
        main_name = name
        alt_name = []

    return main_name, alt_name