It's more of a coincidence than anything else. This class of 327-feet cutters is called the Secretary class. Taney was a Treasury Department secretary who later became a Supreme Court justice. Read more below and at the link:
The Coast Guard named the 327s for former Department of Treasury secretaries. The class included namesakes Alexander Hamilton, George Campbell, Samuel Ingham, William Duane, Roger Taney, John Spencer and George Bibb.
The Long Blue Line: 327-foot Secretary Class Cutters “the ships that wouldn’t die”
The Taney is only one that survives.
The Taney is only one that survives.
The Taney and Ingham are the only ones that survive.