def METHOD_NAME(bl, name: Optional[str] = None):
    dupe_object = bl.copy()
    if name is not None:
        dupe_object.name = name
    bpy.context.scene.objects.link(dupe_object)
    return dupe_object