Currently media_duplicates is based on a custom schema, not using custom entity types.
But step by step we're reinventing what Drupal Core Custom Content Entity Types already offers:
So instead of investing the time to recreate such great Drupal functionality in custom code, we should better utilize the Content Entity Type logic, like other widely used modules already do (Redirect, Custom Tokens, Paragraphs, COOKiES, ...)
Active
2.0
Code