def remove_duplicates_in_items(items: list, id_key: str) -> list:
    """Remove duplicate items based on the given id key,

       Args:
           items (list): The items list.
           id_key (str): The ID key for suplication check.

       Returns:
           (list) New items without duplications.
       """
    ids = {}
    new_items = []
    for item in items:
        item_id = item.get(id_key)
        if item_id not in ids:
            ids[item_id] = True
            new_items.append(item)

    return new_items