Device implantable in biological ducts