1<?php 2 3namespace DeepCopy\TypeFilter; 4 5/** 6 * @final 7 */ 8class ShallowCopyFilter implements TypeFilter 9{ 10 /** 11 * {@inheritdoc} 12 */ 13 public function apply($element) 14 { 15 return clone $element; 16 } 17} 18