Answer:
Metafiction is primarily associated with postmodernism, which is a literary movement that emerged in the mid-20th century. While elements of metafiction can be found in earlier literary movements such as modernism and realism, it is most closely associated with postmodernism. Therefore, metafiction is not a property of romanticism or naturalism, but rather a characteristic of postmodern literature.