We introduce a subalgebra F of the Clifford vertex superalgebra (bc system) which is completely reducible as a LVir(−2,0)-module, C2-cofinite, but it is not conformal and it is not isomorphic to the symplectic fermion algebra SF(1). We show that SF(1) and F are in an interesting duality, since F can be equipped with the structure of a SF(1)-module and vice versa. Using the decomposition of F and a free-field realization from arXiv:1711.11342, we decompose Lk(osp(1∣2)) at the critical level k=−3/2 as a module for Lk(sl(2)). The decomposition of Lk(osp(1∣2)) is exactly the same as of the N=4 superconformal vertex algebra with central charge c=−9, denoted by V(2). Using the duality between F and SF(1), we prove that Lk(osp(1∣2)) and V(2) are in the duality of the same type. As an application, we construct and classify all irreducible Lk(osp(1∣2))-modules in the category O and the category R which includes relaxed highest weight modules. We also describe the structure of the parafermion algebra N−3/2(osp(1∣2)) as a N−3/2(sl(2))-module. We extend this example, and for each p≥2, we introduce a non-conformal vertex algebra Anew(p) and show that Anew(p) is isomorphic to the doublet vertex algebra as a module for the Virasoro algebra. We also construct the vertex algebra Vnew(p) which is isomorphic to the logarithmic vertex algebra V(p) as a module for sl(2).