Avoid removing duplicate posts

It’s a bit less efficient, but if you have an array of IDs, possibly including duplicates, and want to get the posts for each, I’d suggest use get_post() on each ID, giving you an array of posts.

$post_ids = [ 24, 11, 60, 11 ];
$posts    = array_map( 'get_post', $post_ids );

global $post;

foreach ( $posts as $post ) : setup_postdata( $post );
    // the_title(); etc.
endforeach;