def deaggregate_frame_set(frameset):
    """Deaggregates a FileSequence.FrameSet into its individual frames
    and removes duplicates.  FrameSet objects can have duplicates if
    the user specifies duplicates, which they tend to do even though
    they don't want duplicates.

    @type    frameset: FileSequence.FrameSet
    @param   frameset: The frameset to deaggregate
    @rtype:            List
    @return:           The list of deaggregated frames.
    """
    # This is not a Set because sets are unordered.

    found = []
    for frame in frameset:
        if frame in found:
            continue
        found.append(frame)
    return found